package fightplan.business;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Der Plan ist das Modell des Ablaufs einer Kategorie. Er sollte noch keine
 * grafischen Elemente enthalten.
 */
public abstract class Plan implements Serializable {

	protected List<Fight> fights;
	protected List<Winner> winners;

	public Plan() {
		fights = new ArrayList<Fight>();
		winners = new ArrayList<Winner>();
	}

	public List<Fight> getFights() {
		return fights;
	}

	public Fight addFight() {
		Fight fight = new Fight(this);
		fights.add(fight);
		return fight;
	}

	public List<Winner> getWinners() {
		return winners;
	}

}
